package com.axend.aerosense.room.entity;

import com.axend.aerosense.base.bean.BaseBean;
import com.axend.aerosense.base.bean.BaseDevInfoBean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class RoomSetttingInfoBean extends BaseDevInfoBean {
    private String roomUuid;
    //房间名称
    private String roomName;
    //房间类型 1：客厅  2：卧室  3：卫浴  4：厨房  5：餐厅  6：书房  7：其他
    private int roomType;
    //房间类型名称
    private String roomTypeName;
    //紧急联系人uuid
    private String emergencyUuid;
    //紧急联系人姓名
    private String emergencyName;
    //紧急联系人电话
    private String emergencyPhone;
    //受监护人uuid
    private String wardUuid;
    //受监护人姓名
    private String wardName;
    //受监护人电话
    private String wardPhone;
    //房间时区
    private String roomTimeZone;
    // 时区地区
    private String roomTimeZoneArea;
    //离家模式 0:关 1:开
    private int leaveHome;
    //摔倒报警 0:关 1:开
    private int fallAlertSwitch;


    public RoomSetttingInfoBean(String roomUuid, String roomName,
                                int roomType, String roomTypeName,
                                String emergencyUuid, String emergencyName,
                                String emergencyPhone, String wardUuid,
                                String wardName, String wardPhone,
                                String roomTimeZone, String roomTimeZoneArea,
                                int leaveHome) {
        this.roomUuid = roomUuid;
        this.roomName = roomName;
        this.roomType = roomType;
        this.roomTypeName = roomTypeName;
        this.emergencyUuid = emergencyUuid;
        this.emergencyName = emergencyName;
        this.emergencyPhone = emergencyPhone;
        this.wardUuid = wardUuid;
        this.wardName = wardName;
        this.wardPhone = wardPhone;
        this.roomTimeZone = roomTimeZone;
        this.roomTimeZoneArea = roomTimeZoneArea;
        this.leaveHome = leaveHome;
    }
}
